<template>
	<view class="u-p-30">
		<view class="bg_FFFFFF u-p-30 u-b-r-20">
			<view class="u-flex  u-m-t-30">
				<view class="u-font-30">企业名称:</view>
				<view class="u-m-l-30 u-weight">{{userinfo.co_name}}</view>
			</view>
			
			<view class="u-flex  u-m-t-30">
				<view class="u-font-30">统一信用代码:</view>
				<view class="u-m-l-30 u-weight">{{userinfo.unified_credit_code}}</view>
			</view>
			<view class="u-flex  u-m-t-30">
				<view class="u-font-30">运营人姓名:</view>
				<view class="u-m-l-30 u-weight">{{userinfo.operator_name}}</view>
			</view>
			<view class="u-flex  u-m-t-30">
				<view class="u-font-30">手机号码:</view>
				<view class="u-m-l-30 u-weight">{{userinfo.mobile}}</view>
			</view>
			<view class="  u-m-t-30">
				<view class="u-font-30 u-weight">营业执照</view>
				<view class="u-m-t-20">
					<u-image @click="previewImg(userinfo.business_license)" :src="userinfo.business_license" mode="aspectFit" width="329rpx" height='277rpx'>
					</u-image>
				</view>
			</view>
			
			<view class="  u-m-t-30">
				<view class="u-font-30 u-weight">其他照片</view>
				<view class="u-m-t-20">
					<u-image @click="previewImg(userinfo.other_certificates)" :src="userinfo.other_certificates" mode="aspectFit" width="329rpx" height='277rpx'>
					</u-image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userinfo:''
			}
		},
		onLoad(obj) {
			this.massage(obj.num)
		},
		methods: {
			massage(obj){
				this.$api.my_massage({
					shop_id:obj
				},res=>{
					this.userinfo=res.data.data
				})
			},
			previewImg(img){
				let arr=[img]
				this.$com.previewImg(0,arr)
			}
		}
	}
</script>

<style scoped>
	page {
		background: #F5F5F5FF !important;
	}
</style>
